<?php
    /**
     * Created by PhpStorm.
     * User: lance
     * Date: 2017/10/26
     * Time: 15:31
     */

    namespace app\customer\validate;
    use think\Validate;

    /**
     * 客户资料导入验证
     * Class Customer
     * @package app\customer\validate
     */
    class Customer extends Validate
    {
        protected $rule = [
            'name|姓名' => 'require|max:10',
            'cert_number|证件号码' => 'require',
            'tel1|联系电话' => 'require',
        ];
    }